#ifndef LOGICFIGHT_H
#define LOGICFIGHT_H
#include"tool.h"
#include"object.h"
#include"Json/value.h"

class LogicFight:public Object
{
    GET_SINGLE_OBJECT(LogicFight)
public:
    void c2sPlayerAtk(Json::Value& msg);

    void c2sMonsterAtk(Json::Value& msg);

    void c2sPlayerRun(Json::Value& msg);

    void c2sUseMedication(Json::Value& msg);

    void c2sPlayerDie(Json::Value& msg);
private:
    LogicFight();

    SINGLE_ATTRIBUTES(LogicFight);
};

#endif // LOGICFIGHT_H
